package com.iwhalecloud.bss.kite.cucc.common.constant;

import com.iwhalecloud.bss.kite.common.constant.ITableConsts;

public enum TableConsts implements ITableConsts {
    /**
     *
     */
	OfferObjRel("OFFER_OBJ_REL", "OFFER_OBJ_REL_ID"),
    /**
     *
     */
    OfferRel("OFFER_REL", "OFFER_REL_ID");

	/**
     * 表名
     */
    private String tableName;

    /**
     * 主键
     */
    private String primaryKey;

	TableConsts(String tableName, String primaryKey) {
        this.tableName = tableName;
        this.primaryKey = primaryKey;
    }

	/**
     * Description: <br>
     *
     * @author lifl<br>
     * @taskId <br>
     * @return tableName <br>
     */
    @Override
    public String getTableName() {
        return tableName;
    }

    /**
     * Description: <br>
     *
     * @author lifl<br>
     * @taskId <br>
     * @return primaryKey <br>
     */
    @Override
    public String getPrimaryKey() {
        return primaryKey;
    }

}
